package cn.wsalix.admin.service;

import java.util.List;

import cn.anlaser.service.RelatedService;
import cn.wsalix.admin.entity.Permit;
import cn.wsalix.admin.entity.RolePermit;
import cn.wsalix.admin.entity.SysRole;
import cn.wsalix.admin.form.RolePermitForm;
import cn.wsalix.admin.repository.RolePermitRepository;

public interface RolePermitService
		extends
		RelatedService<RolePermitForm, RolePermitRepository, RolePermit, SysRole, Permit> {

	List<Permit> findPermitsByUserId(Long userId);

	List<Permit> findAllPermits();

}
